package store.gjn998.mp.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import store.gjn998.mp.pojo.LogInfo;
import store.gjn998.mp.mapper.LogInfoMapper;
import store.gjn998.mp.service.LogInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author guozepeng
 * @since 2021-10-24
 */
@Service(value = "logInfoService")
public class LogInfoServiceImpl extends ServiceImpl<LogInfoMapper, LogInfo> implements LogInfoService {

    @Autowired
    @Qualifier(value = "logInfoMapper")
    LogInfoMapper logInfoMapper;

    @Override
    public List<LogInfo> getLogInfos() {
        return logInfoMapper.selectList(null);
    }
}
